package com.xsq.newmall01.Dao;

import org.springframework.stereotype.Repository;

@Repository
public class SystemUser {
    private int id;
    private String username;
    private String password;
    private int userkind;

    public SystemUser() {
    }

    public SystemUser(int id, String username, String password, int userkind) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.userkind = userkind;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return userkind
     */
    public int getUserkind() {
        return userkind;
    }

    /**
     * 设置
     * @param userkind
     */
    public void setUserkind(int userkind) {
        this.userkind = userkind;
    }

    public String toString() {
        return "SystemUser{id = " + id + ", username = " + username + ", password = " + password + ", userkind = " + userkind + "}";
    }
}
